QT += multimedia
QT -= console app_bundle

TEMPLATE = lib
CONFIG += staticlib

DEFINES += CC_TARGET_OS_QT5

HEADERS += \
    ../include/Export.h \
    ../include/SimpleAudioEngine.h \
    ../qt5/APlayer.h

INCLUDEPATH += ../include  ../qt5

# 添加独立编译的宏定义，将不依赖cocos2d的FileUtils
#DEFINES	+= BUILD_INDEPENDENT

# 依赖cocos2d的FileUtils时,需要打开下面的注释
COCOS2D_ROOT = $$PWD/../../cocos2dx
INCLUDEPATH +=  $$COCOS2D_ROOT/include \
	$$COCOS2D_ROOT \
	$$COCOS2D_ROOT/platform \
	$$COCOS2D_ROOT/platform/qt5

SOURCES += ../qt5/SimpleAudioEngine.cpp \
    ../qt5/APlayer.cpp
